(set programname "Pac-Man2000 1.0") ; name of program
(set drawername "Pac-Man2000") ; name of drawer to make for program
(set assignname "PacMan2000") ; assign to make for program
(set diskname "pacman2000:") ; second install disk name
(set bytesreq "625KB") ; HD space required
(complete 0)
(set initialdir @default-dest) ; defaults to biggest drive
(set wheredir
(askdir
(prompt "Select a directory where you would like to install the " programname
" software. "
"(Note: About " bytesreq " of free space is required for "
"complete installation.)")
(help @askdir-help)
(default initialdir)
)
)
(complete 25)
; Ask expert user the name of the drawer to create
(set drawername
(askstring
(prompt "This installation will create a drawer named `" drawername "'. \n for the Pac-Man2000 Program + Data Files, If you \n would like to change the name of this drawer \n type the new name below.")
(help @askstring-help)
(default drawername)
)
)
(set wheredir (tackon wheredir drawername))
(message programname " will be installed in a new drawer called `" wheredir "'. \n If this is correct, click `Proceed'.")
(makedir wheredir (infos))
(set @default-dest wheredir)
(complete 50)
(working "Installing Pac-Man2000 Program + Data Files ...")